<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{{ title }} - CNOpencart</title>
  <base href="{{ base }}" />
  <link href="view/css/bootstrap.min.css" rel="stylesheet" media="screen" />
  <link href="view/css/icons.css" type="text/css" rel="stylesheet" />
  <link href="view/css/common.css" rel="stylesheet" type="text/css" />
  <script src="view/js/jquery-2.1.1.min.js" type="text/javascript"></script>
  <script src="view/js/bootstrap.min.js" type="text/javascript"></script>
  <link href="view/images/icon.png" rel="icon" />
</head>
<body>
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
          <span class="sr-only">Menu</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="."><img src="view/images/logo.png" alt="CNOpencart" title="CNOpencart" /></a>
      </div>
      <div id="navbar" class="navbar-collapse collapse pull-right">
        <ul class="nav navbar-nav navbar-right">
          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% for language in languages %}{% if  language.current %}{{ language.name }}{% endif %}{% endfor %} <span class="caret"></span></a>
            <ul class="dropdown-menu dropdown-menu-right">
              {% for language in languages %}
              <li><a href="{{ language.link }}">{% if language.current %}<i class="icon-checkmark pull-right"></i>{% endif %}{{ language.name }}</a></li>
              {% endfor %}
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>
